﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Ooganizer.API
{
    [ComVisible(true)]
    [GuidAttribute("EA5A542D-21BE-4d40-9F81-6EBDADC135B4")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    public interface ICOMCollection<T>
    {
        [DispId(2)]
        int Count { get; }

        [DispId(3)]
        T this[int index] { get; }

        [DispId(-4)]
        IEnumerator<T> GetEnumerator();
    }
}
